projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e4f730
)
Recorder: Show details of blur nodes
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 28 Sep 2017 23:48:42 +0000
(19:48 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 28 Sep 2017 23:48:42 +0000
(19:48 -0400)
gtk/inspector/recorder.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/recorder.c
b/gtk/inspector/recorder.c
index 19786a99fd7dcd01cbc7eeb9cdd8965c3cadaf87..73dc681243ad56c83a1dbe73d1b7e2d9f71aacea 100644
(file)
--- a/
gtk/inspector/recorder.c
+++ b/
gtk/inspector/recorder.c
@@
-425,6
+425,21
@@
populate_render_node_properties (GtkListStore *store,
}
break;
+ case GSK_BLUR_NODE:
+ {
+ double radius = gsk_blur_node_get_radius (node);
+ const char *text;
+
+ text = g_strdup_printf ("%.2f", radius);
+ gtk_list_store_insert_with_values (store, NULL, -1,
+ 0, "Radius",
+ 1, text,
+ 2, FALSE,
+ 3, NULL,
+ -1);
+ g_free (text);
+ }
+ break;
default: ;
}
}